package org.cp.service.k8.impl;

import java.util.List;
import org.cp.dao.k8.IK8ResultDAO;
import org.cp.service.k8.IK8ResultService;
import org.cp.vo.Prizenumber;
import org.cp.vo.Prizeresult;

public class K8ResultService implements IK8ResultService {
	
	private IK8ResultDAO k8ResultDAO;
	
	public void insertNumber(Prizenumber prizeNumber) {
		k8ResultDAO.insertNumber(prizeNumber);
	}

	public void insertResult(Prizeresult prizeResult) {
		k8ResultDAO.insertResult(prizeResult);
	}

	public List selectNumber(String hql) {
		return k8ResultDAO.selectNumber(hql);
	}

	public List selectResult(String expectid) {
		return k8ResultDAO.selectResult(expectid);
	}

	public void updataNumber(Prizenumber prizeNumber) {
		k8ResultDAO.updataNumber(prizeNumber);
	}

	public void updataResult(Prizeresult prizeResult) {
		k8ResultDAO.updataResult(prizeResult);
	}

	public IK8ResultDAO getK8ResultDAO() {
		return k8ResultDAO;
	}

	public void setK8ResultDAO(IK8ResultDAO resultDAO) {
		k8ResultDAO = resultDAO;
	}

}
